package com.demo.springmvc.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author liangliang
 */
@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "i不能等于0")
public class SelfException extends RuntimeException {

    private static final long serialVersionUID = -4551182969179724955L;

    public SelfException(String message) {
        super(message);
    }
}
